var oid = $('.panel-heading').find('span').text();
    $('.btn-primary').click(function(){
      $.post('/dzdjwyadmin/index/chuli',{id:oid},function(data){
        
        if(data['status'] == true){
          $('.btn-primary').text('已受理');
          location.reload() 
        }
        
      },'json')
    })

    $('.btn-success').click(function(){
      $.post("/dzdjwyadmin/index/wancheng",{id:oid},function(data){
        
        if(data['status'] == true){
          $('.btn-success').text('已完成');
          $('.btn-primary').css('display','none');
          location.reload() 
        }
        
      },'json')
    })